﻿using System;
using System.Collections.Generic;
using System.IO;
using wojilu.Web.Context;
using wojilu.Web.Jobs;
using wojilu.Web.Mvc;
using YBBYunQi;

namespace wojilu.Web.Controller.Htmls
{
    public class HomeHtmlJob : IWebJobItem
    {
        private static readonly ILog logger = LogManager.GetLogger(typeof(HomeHtmlJob));

        public void Execute()
        {
            if (ConfigUtil.GetConfigInt("is_html") == 1)
            {
                HtmlMaker.GetHome().Process();
            }
        }

        public void End()
        {
        }

    }
}
